export const subRoutes = [

  {
    name: 'SFTwin',
    path: '/SFTwin',
    component: () => import('@/views/SFTwin.vue')
  },
  {
    name: 'ArmDemo',
    path: '/ArmDemo',
    component: () => import('@/views/ArmDemo.vue')
  },
  {
    name: 'Login',
    path: '/login',
    component: () => import('@/views/Login/index.vue')
  },
  {
    name: 'UI',
    path: '/ui',
    component: () => import('@/views/UI/index.vue')
  },
  {
    name: 'login',
    path: '/login',
    component: () => import('@/views/Login/index.vue')
  }
]
const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home.vue'),
    redirect: '/SFTwin',
    children: subRoutes
  }
]
export default routes
